package com.anolesoft.twelvePlan.vo;

import com.anolesoft.twelvePlan.listener.LocalDateTimeDeSerializer;
import com.anolesoft.yr.demo.BaseQueryParamVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zyq
 * @date 2022/5/25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper=true)
public class MesPlanGradeVO  extends BaseQueryParamVO implements Serializable {
    private String objuid;
    private String planGrade;
    private String factoryId;
    private String createId;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
}
